package sebastiankerckhof.scene.lighting;

import sebastiankerckhof.math.Color3f;
import sebastiankerckhof.math.Point3f;
import sebastiankerckhof.math.Vector3f;
import sebastiankerckhof.render.raytrace.Ray;
import sebastiankerckhof.render.raytrace.Hit.Hit;

public class DirectionalLight extends AbstractLight{
	public Vector3f direction;
	
	public DirectionalLight(Vector3f dir, float intensity, Color3f color){
		this.direction = dir;
		this.intensity = intensity;
		this.color = color;
	}
	
		
	@Override
  public Vector3f getDirectionToLight(Ray r, Point3f hitPoint) {
	  return this.direction.negative();
  }
	
}
